package com.manage.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: clms-third
 * @description: 会员实体类
 * @author: 林子洁
 * @create: 2021-07-21 18:05
 **/
@Data
@TableName("tb_client")
@ApiModel(value = "会员实体类", description = "会员实体类")
public class TbClient {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "会员客户ID")
    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    @ApiModelProperty(value = "账号")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "盐值列")
    private String pwSalt;
    @ApiModelProperty(value = "账号状态（账号启用状态：0->禁用;1->启用）")
    private String status;
    @ApiModelProperty(value = "（身份证，护照，军官证，台胞证，港澳台来往内地通行）")
    private String idType;
    @ApiModelProperty(value = "正面")
    private String pathFront;
    @ApiModelProperty(value = "反面")
    private String pathReverse;
    @ApiModelProperty(value = "昵称")
    private String clientName;
    @ApiModelProperty(value = "联系人")
    private String contactName;
    @ApiModelProperty(value = "联系电话")
    private String contactPhone;
    @ApiModelProperty(value = "联系地址")
    private String contactAddress;
    @ApiModelProperty(value = "驾照号")
    private String licenseNo;
    @ApiModelProperty(value = "性别")
    private String sex;
    @ApiModelProperty(value = "电话")
    private String phoneNum;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "会员级别（普通，金卡，白金，钻石）")
    private long memberLevelId;
    @ApiModelProperty(value = "账户余额")
    private double accountBalance;
    @ApiModelProperty(value = "积分")
    private long integration;
    @ApiModelProperty(value = "成长值")
    private double growth;
    @ApiModelProperty(value = "历史积分数量")
    private String historyIntegration;
    @ApiModelProperty(value = "微信返回ID")
    private long openId;
    @ApiModelProperty(value = "登陆验证token")
    private String token;
    @ApiModelProperty(value = "头像")
    private String headPic;
}
